<?php
//error_reporting(0);
if(!defined('XML')){
	header( 'Content-Type:text/html;charset=utf-8');
}

define('SITE_ROOT',substr(dirname(__FILE__),0,-7));
define('MAGIC_QUOTES_GPC', get_magic_quotes_gpc());
date_default_timezone_set('PRC');
session_start();
require_once SITE_ROOT.'./include/global.func.php';

/**
 *
 * ��ݿ���
 *
 * @param unknown_type $string
 * @param unknown_type $force
 * @return unknown
 */

$theday=date("Y-m-d H:i:s");
$time = time();
//require_once SITE_ROOT.'./config.php';
require_once SITE_ROOT.'./include/mysql.class.php';
require_once SITE_ROOT.'./include/DB.class.php';
//$db=new Mysql($DBHOST,$DBUSER,$DBPWD,$DBNAME);
$db = new DB();

?>